package org.wzy.design.patterns.factory;

import org.wzy.design.patterns.factory.simple.Car;

public class SimpleFactoryTest {
	public static void main(String[] args) {
		// 消费者
		Car car = new SimpleFactory().getCar("Ben1z");
		System.out.println(car.getName());
	}
}
